import request from '@/utils/request'

// 查询慢病中心-视频附列表
export function listVideoDeputy(query) {
  return request({
    url: '/chronicDisease/videoDeputy/list',
    method: 'get',
    params: query
  })
}

// 查询慢病中心-视频附详细
export function getVideoDeputy(id) {
  return request({
    url: '/chronicDisease/videoDeputy/' + id,
    method: 'get'
  })
}

// 新增慢病中心-视频附
export function addVideoDeputy(data) {
  return request({
    url: '/chronicDisease/videoDeputy',
    method: 'post',
    data: data
  })
}

// 修改慢病中心-视频附
export function updateVideoDeputy(data) {
  return request({
    url: '/chronicDisease/videoDeputy',
    method: 'put',
    data: data
  })
}

// 删除慢病中心-视频附
export function delVideoDeputy(id) {
  return request({
    url: '/chronicDisease/videoDeputy/' + id,
    method: 'delete'
  })
}
